/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package bean;

import java.util.Date;

/**
 *
 * @author xuanl_000
 */
public class Account {
    private int id;
    private int depId;
    private int roleId;
    private String account;
    private String password;
    private String fullName;
    private String email;
    private String phone;
    private String address;
    private int status;
    private Date createTime;
    private Date updateTime;

    public Account() {
    }

    public Account(int id, int depId, int roleId, String account, String password, String fullName, String email, String phone, String address, int status, Date createTime, Date updateTime) {
        this.id = id;
        this.depId = depId;
        this.roleId = roleId;
        this.account = account;
        this.password = password;
        this.fullName = fullName;
        this.email = email;
        this.phone = phone;
        this.address = address;
        this.status = status;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Account(int id, int depId, int roleId, String account, String password, String fullName, String email, String phone, String address, int status, Date createTime) {
        this.id = id;
        this.depId = depId;
        this.roleId = roleId;
        this.account = account;
        this.password = password;
        this.fullName = fullName;
        this.email = email;
        this.phone = phone;
        this.address = address;
        this.status = status;
        this.createTime = createTime;
    }
    

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getDepId() {
        return depId;
    }

    public void setDepId(int depId) {
        this.depId = depId;
    }

    public int getRoleId() {
        return roleId;
    }

    public void setRoleId(int roleId) {
        this.roleId = roleId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Account{" + "id=" + id + ", depId=" + depId + ", roleId=" + roleId + ", account=" + account + ", password=" + password + ", fullName=" + fullName + ", email=" + email + ", phone=" + phone + ", address=" + address + ", status=" + status + ", createTime=" + createTime + ", updateTime=" + updateTime + '}';
    }
    
    
}
